//
//  playCell.m
//  WANNA
//
//  Created by 请叫我灬阿文 on 16/5/6.
//  Copyright © 2016年 浮夸. All rights reserved.
//

#import "playCell.h"
#import "ImageDownloader.h"
#import "UIImageView+WebCache.h"
@interface playCell ()
@property (weak, nonatomic) IBOutlet UIImageView *image;

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *subtitleLabel;

@property (weak, nonatomic) IBOutlet UILabel *summyLabel;
@end

@implementation playCell
-(void)layoutSubviews {
    [self.image dt_setImageWithUrl:[NSURL URLWithString:self.model.image]];
    self.titleLabel.text=self.model.title;
    
    self.summyLabel.text = self.model.summary;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
